package com.bw.controller;

import com.alibaba.fastjson2.JSONObject;
import com.bw.service.TmsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;
import java.util.Map;

@RestController
public class TmsController {

    @Autowired
    TmsService tmsService;

    @RequestMapping("/get1")
    public JSONObject get1(){
        List<Map> list = tmsService.get1();
        JSONObject jsonObject1 = new JSONObject();
        jsonObject1.put("status",0);
        jsonObject1.put("msg","");
        jsonObject1.put("data",);
        return jsonObject1;
    }
}
